<?
/**
* Templete of newsarticle page
*/
if ($page): 
  ?>
  <br><br>
<div class="one_news">
	<div class="newstitle"><h1><?=$node->title;?></h1></div>
        <div class="thumb">
            <?if(!empty($node->field_img['und'][0]['uri'])):?>
           <img src="<?=image_style_url('200_200',$node->field_img['und'][0]['uri']); ?>">
            <?endif;?>
        </div>
	<?  if (user_access('bypass node access')) : ?>
            <div class="admin-link1">
            <?php echo l('Редактировать', 'node/' . $node->nid . '/edit',array('query'=>array('page'=>$_GET['page']))); ?>
            </div>
        <?php endif; ?>
	<div class="newsdate"><?=date('d.m.Y',$node->created);?>'</div>
	<div class="newstext">
            <div class="event_social"><?=social_plugings();?></div>
             <?=$node->body['und'][0]['value'];?>'</div>
	<?if($node->field_id_event['und'][0]['value']):
#$evnode=node_load($node->field_id_event['und'][0]['value']);

#echo '<div class="newstext">'.l($evnode->title,'node/'.$evnode->nid).'</div>';
if($node->field_id_event['und'][0]['value'])echo _spec_event4newsarticle($node->field_id_event['und'][0]['value']);
endif;
?>
</div>
<?if(isset($node->field_tags['und'])):?>
  <div class="tags">
<?    foreach($node->field_tags['und'] as $tag): ?>
      <span><?=l($tag['taxonomy_term']->name,'taxonomy/term/'.$tag['taxonomy_term']->tid);?></span>&nbsp;  
        
        
 <?   endforeach;?>
  </div>   
<? endif;
#sites/modules/advert/advert_compromise.inc
#echo _fb_vk_comments();
echo _spec_event_related($node->field_related['und'][0]['value']);
?>
<?


endif;

?>